<template>
  <div class="cn_title">
    <span class="title">{{ title }}</span>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>

<style lang="scss" scoped>
.cn_title {
  width: 1058px;
  height: 45px;
  background-image: url("@/assets/img/b_title.png");
  background-size: cover;
  text-align: left;
  padding-left: 60px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  .title {
    font-size: 22px;
    text-align: left;
    color: #f2faff;
  }
}
</style>